package com.gopay.common.domain.bis;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.gopay.common.domain.BaseEntity;

/**
 * 银行交互服务-银行业务产品信息表
 * 
 * @BisBankBusProd.java
 * @author yaobo
 * @2013-11-6 上午09:41:36 www.gopay.com.cn Inc.All rights reserved.
 */
@Entity
@Table(name = "BIS_BANK_BUSINESS_PROD")
public class BisBankBusProd extends BaseEntity {

    /**
     * 
     */
    private static final long serialVersionUID = 7366952001460920758L;

    /**
     * 银行业务产品代码
     */
    @Id
    @Column(name = "BANK_BIZ_PROD_CODE")
    private String bankProdCode;

    /**
     * 银行业务产品名称
     */
    @Column(name = "BANK_BIZ_PROD_NAME")
    private String bankProdName;

    /**
     * 删除标识
     * 
     * 0 - 未删除 1 - 已删除
     */
    @Column(name = "IS_DEL", nullable = false, precision = 1, scale = 0)
    private boolean del;

    /**
     * 是否可用
     * 
     * 0-不可用  1-可用
     */
    @Column(name = "ENABLE", nullable = false, precision = 2, scale = 1)
    private boolean enable;

    /**
     * 创建时间
     */
    @Column(name = "CREATED_TS")
    private Date created;

    /**
     * 记录最后修改时间
     */
    @Column(name = "LAST_UPD_TS")
    private Date modified;

    /**
     * 最后修改交易码
     */
    @Column(name = "LAST_UPD_TRANCODE")
    private String lastUpdTranCode;

	public String getBankProdCode() {
		return bankProdCode;
	}

	public void setBankProdCode(String bankProdCode) {
		this.bankProdCode = bankProdCode;
	}

	public String getBankProdName() {
		return bankProdName;
	}

	public void setBankProdName(String bankProdName) {
		this.bankProdName = bankProdName;
	}

	public boolean isDel() {
		return del;
	}

	public void setDel(boolean del) {
		this.del = del;
	}

	public boolean isEnable() {
		return enable;
	}

	public void setEnable(boolean enable) {
		this.enable = enable;
	}

	public Date getCreated() {
		return created;
	}

	public void setCreated(Date created) {
		this.created = created;
	}

	public Date getModified() {
		return modified;
	}

	public void setModified(Date modified) {
		this.modified = modified;
	}

	public String getLastUpdTranCode() {
		return lastUpdTranCode;
	}

	public void setLastUpdTranCode(String lastUpdTranCode) {
		this.lastUpdTranCode = lastUpdTranCode;
	}
    
    
}
